<template>
    <section class="loading">
        <div class="pic"></div>
    </section>
</template>
<style lang="scss" scoped>
.loading {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 999;
  padding-top: px2rem(360px);
  box-sizing: border-box;
  background: white;
  border-radius: px2rem(0px);
  .pic {
    margin: 0 auto;
    width: px2rem(435px);
    height: px2rem(211px);
    animation: run 1s infinite;
    background-size: 100% 100%;
    background-repeat: no-repeat;
  }
}
@keyframes run {
  from,
  50%,
  to {
    background-image: url("~@img/run1.png");
  }

  25%,
  75% {
    background-image: url("~@img/run2.png");
  }
}
</style>
